using System;
using System.ComponentModel;
using System.Diagnostics;


namespace SIS.ENT
{


    public class SchoolProfileTable
    {

        #region "Private Variables"
        private int _schoolKey;
        private string _schoolShortName;
        private string _schoolName;
        private string _schoolOtherName;
        private Byte[] _schoolLogo;
        private Byte[] _schoolPhoto;
        private string _schoolForeColor;
        private string _schoolBackColor;
        private string _schoolBrief;
        private string _schoolOtherBrief;
        private short _registerYear;
        private short _openYear;
        private string _ownerName;
        private string _headMasterName;
        private string _registrarName;
        private string _registrationNumber;
        private string _websiteUrl;
        private string _emailAddress;
        private string _faxNumber;
        private string _contactNumber;
        private string _remark;
        private short _status;
        private DateTime _createdDateTime = DateTime.MinValue;
        private DateTime _modifiedDateTime = DateTime.MinValue;
        private SchoolAddressTableList _schoolAddressTables = new SchoolAddressTableList();
        private SchoolContactTableList _schoolContactTables = new SchoolContactTableList();

        #endregion

        #region "Public Properties"
        /// <summary>
        /// Gets or sets the SchoolKey of the SchoolProfileTable.
        /// </summary>
        [DataObjectFieldAttribute(true, true, false)]
        public int SchoolKey
        {
            get
            {
                return _schoolKey;
            }
            set
            {
                _schoolKey = value;
            }
        }
        /// <summary>
        /// Gets or sets the SchoolShortName of the SchoolProfileTable.
        /// </summary>
        public string SchoolShortName
        {
            get
            {
                return _schoolShortName;
            }
            set
            {
                _schoolShortName = value;
            }
        }
        /// <summary>
        /// Gets or sets the SchoolName of the SchoolProfileTable.
        /// </summary>
        public string SchoolName
        {
            get
            {
                return _schoolName;
            }
            set
            {
                _schoolName = value;
            }
        }
        
        /// <summary>
        /// Gets or sets the SchoolOtherName of the SchoolProfileTable.
        /// </summary>
        public string SchoolOtherName
        {
            get
            {
                return _schoolOtherName;
            }
            set
            {
                _schoolOtherName = value;
            }
        }

        /// <summary>
        /// Gets or sets the SchoolLogo of the SchoolProfileTable.
        /// </summary>
        public Byte[] SchoolLogo
        {
            get
            {
                return _schoolLogo;
            }
            set
            {
                _schoolLogo = value;
            }
        }

        /// <summary>
        /// Gets or sets the SchoolPhoto of the SchoolProfileTable.
        /// </summary>
        public Byte[] SchoolPhoto
        {
            get
            {
                return _schoolPhoto;
            }
            set
            {
                _schoolPhoto = value;
            }
        }

        /// <summary>
        /// Gets or sets the SchoolOtherName of the SchoolProfileTable.
        /// </summary>
        public string SchoolForeColor
        {
            get
            {
                return _schoolForeColor;
            }
            set
            {
                _schoolForeColor = value;
            }
        }


        /// <summary>
        /// Gets or sets the SchoolBackColor of the SchoolProfileTable.
        /// </summary>
        public string SchoolBackColor
        {
            get
            {
                return _schoolBackColor;
            }
            set
            {
                _schoolBackColor = value;
            }
        }

        /// <summary>
        /// Gets or sets the SchoolBrief of the SchoolProfileTable.
        /// </summary>
        public string SchoolBrief
        {
            get
            {
                return _schoolBrief;
            }
            set
            {
                _schoolBrief = value;
            }
        }
        /// <summary>
        /// Gets or sets the SchoolOtherBrief of the SchoolProfileTable.
        /// </summary>
        public string SchoolOtherBrief
        {
            get
            {
                return _schoolOtherBrief;
            }
            set
            {
                _schoolOtherBrief = value;
            }
        }
        /// <summary>
        /// Gets or sets the RegisterYear of the SchoolProfileTable.
        /// </summary>
        public short RegisterYear
        {
            get
            {
                return _registerYear;
            }
            set
            {
                _registerYear = value;
            }
        }
        /// <summary>
        /// Gets or sets the OpenYear of the SchoolProfileTable.
        /// </summary>
        public short OpenYear
        {
            get
            {
                return _openYear;
            }
            set
            {
                _openYear = value;
            }
        }
        /// <summary>
        /// Gets or sets the OwnerName of the SchoolProfileTable.
        /// </summary>
        public string OwnerName
        {
            get
            {
                return _ownerName;
            }
            set
            {
                _ownerName = value;
            }
        }
        /// <summary>
        /// Gets or sets the HeadMasterName of the SchoolProfileTable.
        /// </summary>
        public string HeadMasterName
        {
            get
            {
                return _headMasterName;
            }
            set
            {
                _headMasterName = value;
            }
        }
        /// <summary>
        /// Gets or sets the RegistrarName of the SchoolProfileTable.
        /// </summary>
        public string RegistrarName
        {
            get
            {
                return _registrarName;
            }
            set
            {
                _registrarName = value;
            }
        }
        /// <summary>
        /// Gets or sets the RegistrationNumber of the SchoolProfileTable.
        /// </summary>
        public string RegistrationNumber
        {
            get
            {
                return _registrationNumber;
            }
            set
            {
                _registrationNumber = value;
            }
        }
        /// <summary>
        /// Gets or sets the WebsiteUrl of the SchoolProfileTable.
        /// </summary>
        public string WebsiteUrl
        {
            get
            {
                return _websiteUrl;
            }
            set
            {
                _websiteUrl = value;
            }
        }
        /// <summary>
        /// Gets or sets the EmailAddress of the SchoolProfileTable.
        /// </summary>
        public string EmailAddress
        {
            get
            {
                return _emailAddress;
            }
            set
            {
                _emailAddress = value;
            }
        }
        /// <summary>
        /// Gets or sets the FaxNumber of the SchoolProfileTable.
        /// </summary>
        public string FaxNumber
        {
            get
            {
                return _faxNumber;
            }
            set
            {
                _faxNumber = value;
            }
        }
        /// <summary>
        /// Gets or sets the ContactNumber of the SchoolProfileTable.
        /// </summary>
        public string ContactNumber
        {
            get
            {
                return _contactNumber;
            }
            set
            {
                _contactNumber = value;
            }
        }
        /// <summary>
        /// Gets or sets the Remark of the SchoolProfileTable.
        /// </summary>
        public string Remark
        {
            get
            {
                return _remark;
            }
            set
            {
                _remark = value;
            }
        }
        /// <summary>
        /// Gets or sets the Status of the SchoolProfileTable.
        /// </summary>
        public short Status
        {
            get
            {
                return _status;
            }
            set
            {
                _status = value;
            }
        }
        /// <summary>
        /// Gets or sets the CreatedDateTime of the SchoolProfileTable.
        /// </summary>
        public DateTime CreatedDateTime
        {
            get
            {
                return _createdDateTime;
            }
            set
            {
                _createdDateTime = value;
            }
        }
        /// <summary>
        /// Gets or sets the ModifiedDateTime of the SchoolProfileTable.
        /// </summary>
        public DateTime ModifiedDateTime
        {
            get
            {
                return _modifiedDateTime;
            }
            set
            {
                _modifiedDateTime = value;
            }
        }
        /// <summary>
        ///Gets or sets a collection of <see cref="SchoolAddressTable" /> instances for the SchoolProfileTable.
        /// </summary>

        public SchoolAddressTableList schoolAddressTables
        {
            get
            {
                return _schoolAddressTables;
            }
            set
            {
                _schoolAddressTables = value;
            }
        }
        /// <summary>
        ///Gets or sets a collection of <see cref="SchoolContactTable" /> instances for the SchoolProfileTable.
        /// </summary>

        public SchoolContactTableList schoolContactTables
        {
            get
            {
                return _schoolContactTables;
            }
            set
            {
                _schoolContactTables = value;
            }
        }

        #endregion

    }
}
